package grammar.dataIO;

import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;

/**
 * @Project ：learn_java
 * @File ：Server.java
 * @IDE ：IntelliJ IDEA
 * @Author ：自由如风间
 * @Date ：2025/3/16 20:22
 * @Description ：For study.
 */

public class Server {
    public static void main(String[] args) throws IOException {
        ServerSocket ss = new ServerSocket(10000);

        Socket socket = ss.accept();

        /*
        try (DataInputStream dis = new DataInputStream();
             DataOutputStream dos = new DataOutputStream()) {
            byte[] bytes = new byte[1024];
            int len;
            while ((len = dis.read()) != -1) {

            }
        }
        */
    }
}
